import styled from "styled-components";

export const IndexHead = styled.div`
  display: flex;
  height: 1rem;
  padding: 0 0.3rem;
  overflow: hidden;
  box-sizing: border-box;
  padding-top: 0.15rem;
  background: #fff;
`;

export const Logo = styled.img`
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  margin-top: 0.05rem;
`;

export const Search = styled.div`
  display: block;
  flex: 1;
  border-radius: 0.7rem;
  height: 0.7rem;
  background: #e6e6e6;
  line-height: 0.7rem;
  padding: 0 0.3rem;
  margin: 0 0.2rem;
  color: #8a8a8a;
  i {
    color: #8a8a8a;
    margin-right: 0.1rem;
  }
  input{
    background: transparent;
  }
`;

export const Login = styled.div`
  width: 0.6rem;
  font-size: 0.22rem;
  color: #333;
  text-align: center;
  i {
    display: block;
    font-size: 0.38rem;
  }
`;

export const Banner = styled.div`
  padding: 0 0.3rem;
  background: #fff;
  border-radius: 0.1rem;
  overflow: hidden;
  height: 5.2rem;
  img {
    height: 5.2rem;
    width: 100%;
  }
  .am-carousel-wrap {
    margin-top: -0.7rem;
  }
`;

export const Catalog = styled.div`
  display: flex;
  font-size: 0.36rem;
  text-align: center;
  padding: 0.3rem;
  background: #fff;
  a {
    flex: 1;
    display: block;
    i {
      font-size: 0.6rem;
      display: block;
      color: transparent;
      background: -webkit-linear-gradient(left bottom, #333, #999);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    span {
      color: transparent;
      background: -webkit-linear-gradient(left bottom, #333, #999);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  }
`;
